Apparatus for providing security on a powerline-modem network

ABSTRACT

A portable security device ( 10 ) for setting up secure powerline modem networks is disclosed. The portable security device includes a memory ( 18 ) which stores a protocol ( 19 ) for communicating with powerline modem devices (e.g.,  22 ), and a socket ( 14 ) configured to receive a power cord ( 23 ) from a powerline modem device ( 22 ). A number assigning device ( 12  or  16 ) transmits a private key to powerline modem devices such that the private key is stored in the powerline modem devices and is used to associate a plurality of powerline modem devices and exclude unauthorized powerline modem devices.

BACKGROUND

[0001] 1. Technical Field

[0002] This disclosure relates to power-line modem networks, and moreparticularly, to an apparatus which permits a user to create a securenetwork over a powerline when employing powerline modems.

[0003] 2. Description of the Related Art

[0004] Powerline modems communicate by employing a power network as atransmission medium. Since modems in a plurality of locations share thepower network, the shared powerline is a medium that permits a powerlinemodem in one house to “see” the powerline modems (and their data) atother locations, for example, other homes. Since the powerline is sharedand is common to all homes data can be accessed freely over thepowerline.

[0005] Therefore, a need exists for an apparatus and method where a userprograms the same private key into all powerline modems that need to besecured. A further need exists for an apparatus and method which permitsthe user to program the private key into the modems without using thepowerline network. This method would prevent other modems on the networkfrom maliciously gaining access to the private key.

SUMMARY OF THE INVENTION

[0006] The present invention creates a secure powerline modem network byusing a portable security device which includes a powerline modem. Thesecurity device is capable of randomly generating a number and may havethe ability to let the user enter a number. This number is preferablystored in the portable security device, and the number will be a privatekey (y) for all of the modems on a given secured network. Each modemthat needs to be secured is disconnected from the powerline modemnetwork and then connected to the portable security device. The portablesecurity device will provide power to the powerline modem of the deviceto be secured on the network, while simultaneously isolating thedevice's modem from the rest of the powerline modem network.

[0007] The portable security device then transmits the value of theprivate key to the other powerline modem device over their directconnection. Following this programming step, the powerline modem deviceis reconnected to the powerline network. Once all devices to be securedhave been programmed in this manner, the master device on the networkwill transmit its public key (X). All powerline modems, both secured andunsecured, can hear this public key. Since all powerline modems thatwere programmed by the user's portable security device have the sameprivate key, they are all able to compute a same shared key (Y) bymathematically combining the master's public key and their programmedprivate key (e.g., Y=(X)^(y)). All communication on the secured networkis then encrypted using this same shared key.

[0008] A portable security device for setting up secure powerline modemnetworks is disclosed. The portable security device includes a memorywhich stores a protocol for communicating with powerline modem devices,and a socket configured to receive a power cord from a powerline modemdevice. A number assigning device transmits a private key to powerlinemodem devices such that the private key is stored in the powerline modemdevices and is used to associate a plurality of powerline modem devicesand exclude unauthorized powerline modem devices.

[0009] Another portable device for communicating with powerline modemsincludes a memory which stores a protocol for communicating withpowerline modem devices. A communication link is configured tocommunicate with a powerline modem device such that when a communicationconnection is made with the powerline modem device an entire availablebandwidth of the powerline modem device is available for communication.

[0010] A relay may be connected between the power line and the socket,which switches off power to the powerline modem device to prove that theportable device is actually connected to the powerline modem device. Afilter is preferably coupled to the power line, which permits power topass therethrough but filters out other frequencies.

[0011] These and other objects, features and advantages of the presentinvention will become apparent from the following detailed descriptionof illustrative embodiments thereof, which is to be read in connectionwith the accompanying drawings.

BRIEF DESCRIPTION OF DRAWINGS

[0012] This disclosure will present in detail the following descriptionof preferred embodiments with reference to the following figureswherein:

[0013]FIG. 1 is a block diagram showing a security synch device (SSD) inaccordance with the present invention; and

[0014]FIG. 2 is a block diagram showing a system/method for securing apowerline network in accordance with the present invention.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

[0015] The present invention provides an apparatus and method forcreating a secured powerline network. In one embodiment, powerline modemnetworks can be secured by the use of cryptographic algorithms known asciphers. A cipher is a reversible mathematical algorithm that modifiesthe original input data. The output of the cipher is the “secured”version of the data and it is known as ciphertext. Most modern ciphersrequire the use of a number known as a key. This key may be a very largenumber, and the key acts as the seed for the cipher. That is, encryptingthe same data with the same cipher but with different keys results incompletely different ciphertext outputs. The intended recipient of thedata will have knowledge of the key and can decrypt the data to restoreit to its original form. Unintended recipients will not have knowledgeof the key and it will ideally take them an enormous amount of time totry and decrypt the data by trying all possible key combinations.

[0016] The level of security in the system of the present invention maybe scaled based on the size of the key. Small keys make theencryption/decryption process easier, but the security is weaker. Largerkeys provide more security at the expense of encryption/decryptioncomplexity.

[0017] In many practical applications, the type of cipher being used, aswell as the details of the cipher itself, is known (e.g., provided on adata sheet). The security of such a system depends on keeping the valueof the key secret since anyone who obtains knowledge of the key coulddecrypt the data.

[0018] Setting up a secure powerline modem network provides that eachmodem to be secured has knowledge of an agreed-upon key. Only thosemodems on the secured network will have knowledge of the key and thiskey can be used to encrypt all data transmitted among the secure modems.By keeping the value of this key secret, a secure powerline modemnetwork can be implemented. However, secure communication is notpossible until all intended modems have knowledge of the key. Until themodems know the key value, the modems can only communicate in anunsecured mode and any data transmitted in such a mode is susceptible tounintended interception.

[0019] One difficulty in setting up a secured network is determining amethod for informing all modems of the value of the key. A unique ID maybe imprinted on each modem when it is manufactured. The user sets up asecure network by typing in the IDs of all modems to be secured into acomputer with a powerline modem. This modem will be the master of thenetwork and the master modem knows the IDs of all of the modems thatwill be on the secure network. It can then communicate with those modemsto establish a key to be used for secure communications. A number ofmethods exist for setting up such a key, for example, a public keyagreement scheme such as Diffie-Hellman may be employed.

[0020] The public key agreement technique may work as follows. Thepowerline modem that is the master of the network broadcasts a valueknown as a public key and all the modems on the network (whose IDs havebeen programmed into the master) will respond with their own publickeys. Any modem on the network, including devices belonging to otherusers, can receive the public keys. The devices that the user wishes tosecure will mathematically combine the public key with their own privatekey. The private key is stored internally in each modem and its value iskept secret. By using well-known cryptographic techniques, thecombination of the public key and the private key will allow each modemto agree on a shared key that is known only by the master and therespective modem. This shared key can be used to encrypt all datatransmitted between the two devices. Using the same private key for allmodems immediately gives each modem on the secured network the abilityto communicate securely with any other secured modem since they wouldall compute the same shared key.

[0021] It is cumbersome for the user to type in the ID numbers for eachmodem on the network. These numbers would tend to be long and it may notbe possible for the user to bring the device near the computer. Forexample, if the modem is included in a television or stereo, the userwould have to write down the ID code, and then enter it into a computer,which controls the network. This only works if there is a computer onthe network. It will not work for networks that do not have data entrydevices such as keyboards. For example, this technique will not work fora network including only a stereo and networked speakers or multiplephones or a television and DVD player. There is also the possibilitythat a hacker will eavesdrop on the network and obtain the IDs of othermodems. The hacker could then use the ID of another modem in an attemptto appear as one of the modems on the secure network.

[0022] The master device would need to use a different shared key foreach modem since every modem on the network would have a differentprivate key. For the modems to be able to communicate with modems otherthan the master, a new shared key would need to be agreed upon by allmodems on the network.

[0023] The present invention provides an apparatus which providessecurity for a powerline modem system. In one embodiment, the apparatusinclude a security synch device (SSD) which randomly generates a numberor permits a user to enter a number. This number is a uniqueidentification number which identifies a powerline modem or a pluralityof powerline modem systems (e.g., modems at a same location). One ormore powerline modems or powerline modem enabled devices (PMEDs) areeach connected directly to the SSD which sends or assigns this number tothe modem device. Each device at a single location may include the samenumber as other devices at that location or a single location mayinclude multiple numbers. Using the assigned number, mathematicallyencrypted messages can be sent such that only modems on the same networkor modems having a predetermined type can communicate with each other.The present invention also provides a plurality of ways of proving tothe powerline modems that the SSD is located near the powerline modeminstead of the signal coming from a malicious user's location.

[0024] For modems having a unique identification (ID) number or key, auser enters these ID numbers into a computer with a powerline modemwhich is the master of the network. The computer knows that only themodems with the IDs that have been entered belong to its network, and itcan encrypt its data for those modems. However, the user has to type ina number for each modem and also the network needs a personal computerto enter these numbers. Powerline modem networks may include only astereo and speaker, or two phones, or a TV and VCR, etc., where nopersonal computer is present, and thus there is no way to enter thesenumbers into the network master modem. In addition, an unauthorized usercan listen to the network to hear the IDs being broadcast and thenpretend to be one of those modems by using another modem's ID.

[0025] Referring now in specific detail to the drawings in which likereference numerals identify similar or identical elements throughout theseveral views, and initially to FIG. 1, a security synch device (SSD) 10is shown in accordance with one embodiment of the present invention. SSD10 may include a box or other shape, which is preferably small in size(portable) and inexpensive. SSD 10 includes a power plug/cord 13 (to getpower from the wall outlet) and a power socket 14 (to plug apowerline-modem-enabled device (PMED) into the SSD). SSD 10 includes arandom number generator 12 which can generate a random number for use asa unique ID. SSD 10 may also include a keypad or other input device 16to permit the user to enter a number for use as the unique ID. SSD 10includes a memory device 18 for storing the ID numbers generated orentered. Memory device 18 may further include a protocol(s) 19 forcommunicating with PMEDs and an operating system for controlling systemfunctions and interactions with a user. The protocols stored therein maybe any protocol known in the art, for example, TCP. SSD 10 may alsoinclude other circuitry 20 such as a processor or other devices whichperform other operations such as power distribution, data transfer,logic circuits etc. as will be described herein.

[0026] To create a secure network, the user will take SSD 10 around toeach PMED 22 and plug or otherwise connect the PMED 22 into SSD 10 usinga power plug 23 which normally is used to power device 22. Socket 14 isadapted to receive plug 23 and interface with PMED 22 in isolation fromother devices. In one embodiment, a button or other mechanism 24 on thePMED 22 will be pushed to initiate a synch procedure. SSD 10 willtransmit, for example, a low bit rate (so an inexpensive modem can beused in the SSD) number which may be randomly generated by SSD 10 orinput by a user at input 16 to the PMED 22. The length of the number maybe selected by the user to determine the level of security. The userwill repeat this process for each PMED in the home or at the givenlocation which will be permitted to share access of the same data. Thesynch procedure may only need to be done at the time of purchase of aPMED or when a new network is set up (say, a subnetwork in a home).Advantageously, the PMED being set up is isolated from the powerlinenetwork during this synchronization process. SSD includes a filter 28which permits power to pass through and filters out all otherfrequencies (e.g., eliminates any data transfer). Thus, no other devicescan hear this transaction.

[0027] Once this procedure is complete, all devices in a user's homewill be loaded with the same number (or multiple numbers if subnetworksare employed). Other devices outside of the network will have adifferent number (or none at all). In this way, access devices with acommon ID can communicate to the exclusion of other devices (forexample, devices at other locations).

[0028] Referring to FIG. 2, in accordance with one embodiment, theprocedure to set up a secure network is as follows. After PMED devices22 on a network 30 negotiate, one device 32 becomes a master of thenetwork. Assume that the number from the SSD 10 (FIG. 1) is y, a privatekey, and this number will be fixed for a duration on the network 30(e.g., months or longer). The master 32 will select a number x and onlythe master will know this number x can be a randomly generated privatekey, generated by the master. The master is also programmed with y fromSSD 10. The devices will be programmed at the factory with two numbers,g and n. The master 32 will compute a public key, for example, X=g^(x)mod n. Note that this is equivalent to exponentiation over a Galois (orfinite) field of size n. Although this operation is easy to do, it isvery difficult to compute x from X based on the mathematical fact thatit is difficult to take logarithms over finite fields. Othercomputations and equations may also be employed.

[0029] In this example, the master 32 sends X out over the powerlinenetwork 30, and all devices (the user's 22 and devices 34 outside thenetwork) can “hear” X. The master 32 also requests that each modem onthe network respond with their unique ID number after encrypting therequest message (and all others that follow) with a shared key, forexample, Y=(g^(x))^(y) mod n=(X)^(y) mod n. The modems for devices 22will have received X=g^(x) from the master 32, and they know y from theSSD 10. In FIG. 2, y is downloaded to devices 22 as described above withreference to FIG. 1, connections between SSD 10 and devices 22 areillustratively shown to indicate the origin of y. The master 32 will beable to decrypt the message since x is chosen by master 32 and themaster 32 knows y from the SSD 10. Any messages sent by the other modems(devices 34) from a different network will not know y, and the master 32will realize that the devices 34 are not on the same network. Thus, anetwork of PMEDs is secured without mistakenly including (or allowing ahacker to insert) other modems.

[0030] Other embodiments may include simpler or more complex securityschemes. For example, after each device 22 is assigned a private key y.Master 32 generates a public key X and sends X to devices 22. A sharedkey Y is computed based on X and y at each device. (for exampleY=(X)^(y)). Y is then employed for encrypted communications within thesecured network.

[0031] Referring again to FIG. 1, instead of pushing a mechanicalmechanism 24 to initiate synch (which needs a small button to be addedto the PMED or SSD), there are other methods for initiating the synchprocess. The goal is for the PMED to be sure that the random number y isreally coming from its owner's SSD 10, and not an unauthorized user'sSSD or modem. Button 24 provides a way to prove that the SSD 10 isdirectly connected to the PMED (and not connected via the powerline froman unauthorized user's location). Making a user perform an overt act,e.g., to push a button on the PMED is one way of ensuring that the PMEDis set up properly. A direct connection between SSD 10 and the device 22may include a wireless radio frequency or infrared link. Instead of plug23 and sockets 14, antennae are employed.

[0032] In another embodiment, a relay 40 may be provided in SSD 10. Inthis alternate embodiment, since the PMED will be receiving its powerfrom the SSD 10, the SSD 10 can initiate a shutdown sequence of the PMEDto prove that it is actually connected to the PMED. The PMED would thenload the random number after the SSD turns power back on.

[0033] SSD 10 controls relay 40, which may be used to switch off thePMED and then switch the PMED back on. This proves to the PMED that thePMED is connected directly to SSD 10 and is not being connected to anunauthorized user. SSD 10 may be employed for other uses as well. Forexample, SSD 10 may be employed to directly connect to a powerline modemenabled device using a full bandwidth of the modem (instead of sharingbandwidth with other devices on the powerline network). In addition,using the full bandwidth avoids impairments on a main powerline network.These advantages may be employed to, for example, quickly downloadaudio, video, computer programs or other data onto a device. In oneembodiment, software in a device 22 may be updated (e.g., user programsor device drivers) by downloading data or programs from memory 18 onto adevice 22.

[0034] Having described preferred embodiments for an apparatus forproviding security on a powerline-modem network (which are intended tobe illustrative and not limiting), it is noted that modifications andvariations can be made by persons skilled in the art in light of theabove teachings. It is therefore to be understood that changes may bemade in the particular embodiments of the invention disclosed which arewithin the scope and spirit of the invention as outlined by the appendedclaims. Having thus described the invention with the details andparticularity required by the patent laws, what is claimed and desiredprotected by Letters Patent is set forth in the appended claims.

What is claimed is:
 1. A portable security device for setting up securepowerline modem networks, comprising: a memory which stores a protocolfor communicating with powerline modem devices; a socket configured toreceive a power cord from a powerline modem device; a number assigningdevice for transmitting a private key to powerline modem devices suchthat the private key is stored in the powerline modem devices and isused to associate a plurality of powerline modem devices and excludeunauthorized powerline modem devices.
 2. The device as recited in claim1, wherein the number assigning device includes a random numbergenerator.
 3. The device as recited in claim 1, wherein the numberassigning device includes an input device to enable a user definednumber to be entered.
 4. The device as recited in claim 1, wherein thenumber assigning device includes a mechanism to provide initiation ofthe transmitting of the private key to powerline modem devices.
 5. Thedevice as recited in claim 1, further comprising a power line whichconnects to an external power outlet for supplying power to the securitydevice.
 6. The device as recited in claim 5, wherein the socket iscoupled to the power line and powers a powerline modem device whichconnects to the socket such that communication between the powerlinemodem device and the security device in enabled to transfer the privatekey to the powerline modem device.
 7. The device as recited in claim 6,further comprising a relay connected between the power line and thesocket which switches off power to the powerline modem device to provethat the security device is actually connected to the powerline modemdevice.
 8. The device as recited in claim 5, further comprising a filtercoupled to the power line, which permits power to pass therethrough butfilters out other frequencies.
 9. The device as recited in claim 5,further comprising a button employed for initiating communicationbetween the security device and a powerline modem device.
 10. A portabledevice for communicating with powerline modems, comprising: a memorywhich stores a protocol for communicating with powerline modem devices;a communication link configured to communicate with a powerline modemdevice such that when a communication connection is made with thepowerline modem device an entire available bandwidth of the powerlinemodem device is available for communication.
 11. The device as recitedin claim 10, wherein the communication link provides a wirelesscommunication link to the powerline modem device.
 12. The device asrecited in claim 10, wherein the memory includes a software program andthe communication link downloads the software program to the powerlinemodem device.
 13. The device as recited in claim 10, further comprisinga button employed for initiating communication between the securitydevice and a powerline modem device.
 14. The device as recited in claim10, wherein the memory includes a private key and the communication linkdownloads the private individually to a powerline modem device.